﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace iNet.Media.Video
{
	/// <summary>
	/// 提供常用的影片容器格式。
	/// </summary>
	public static class ContainerFormats
	{
		/// <summary>
		/// Advanced Systems Format。
		/// </summary>
		public static readonly IMediaFormat Asf = new MediaFormat("Advanced Systems Format", "video/x-ms-asf", new string[] { ".asf", ".asr", ".asx", ".wmv", ".wma" });
		/// <summary>
		/// Audio Video Interleave。
		/// </summary>
		public static readonly IMediaFormat Avi = new MediaFormat("Audio Video Interleave", "video/msvideo", new string[] { ".avi" });
		/// <summary>
		/// Flash Video。
		/// </summary>
		public static readonly IMediaFormat Flv = new MediaFormat("Flash Video", "video/x-flv", new string[] { ".flv" });
		/// <summary>
		/// QuickTime Video。
		/// </summary>
		public static readonly IMediaFormat Mov = new MediaFormat("QuickTime Video", "video/quicktime", new string[] { ".mov", ".qt" });
		/// <summary>
		/// MPEG-4。
		/// </summary>
		public static readonly IMediaFormat Mpeg4 = new MediaFormat("MPEG-4", "video/mp4", new string[] { ".mp4" });
		/// <summary>
		/// Real Media。
		/// </summary>
		public static readonly IMediaFormat RealMedia = new MediaFormat("Real Media", "application/vnd.rn-realmedia", new string[] { ".rm" });
		/// <summary>
		/// Real Media Variable Bit Rate。
		/// </summary>
		public static readonly IMediaFormat RealMediaVbr = new MediaFormat("Real Media Variable Bit Rate", "application/vnd.rn-realmedia-vbr", new string[] { ".rmvb" });
	}
}
